import React, { createContext, Dispatch, SetStateAction } from 'react';

export interface SearchContext {
  search: string;
  setSearch: Dispatch<SetStateAction<string>>;
}

export const SearchContext = createContext<SearchContext>({
  search: '',
  setSearch: () => {},
});
